package com.baseLearn.api.web;

import com.baseLearn.api.constant.ApiConstant;
import lombok.Data;

/**
 * Created by foxx on 2018/6/25
 */
@Data
public class Done extends ApiResponse {
    private String msg;
    private Object data;

    public Done() {
        super(ApiConstant.SUCCESS_CODE);
    }

    public Done(String msg, Object data) {
        super(ApiConstant.SUCCESS_CODE);
        this.msg = msg;
        this.data = data;
    }
}
